<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>ʹ</title>
		<!--video.js-->
		<link href="http://vjs.zencdn.net/5.19/video-js.min.css" rel="stylesheet">
		<script src="http://vjs.zencdn.net/5.19/video.min.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/videojs-flash@2/dist/videojs-flash.min.js"></script>

	</head>
	<body>

		<div class="div1" id="div1" style="width:500px;height: 500px;">
			<video style="float:left;border: 1px solid red;" id="my-player0" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" poster="//vjs.zencdn.net/v/oceans.png"
				   width="732"  height="478" data-setup='{}'>
				<!--src: 规定媒体文件的 URL  type:规定媒体资源的类型-->
				<source src='rtmp://58.200.131.2:1935/livetv/cctv2' type='rtmp/flv' />
			</video>

		</div>



		<script>
			videojs.options.flash.swf = 'https://cdn.bootcss.com/videojs-swf/5.4.1/video-js.swf';
			var  player0 = videojs('my-player0');
			player0.play();

		</script>
	</body>
</html>

